<template>
		<div ref="fullscreenElement">
			 <Modelheader></Modelheader>
			 <div>
				 <div class="cropperBox">
					 <div class="cropperImageset">
						<ImageSelector ref="childComponent" @newRectangle="newRectangle" :drawStatus="drawStatus" :pagevale="pagevale" :imageUrllist="modelenews"
            @updateMarkList="handleUpdateMarkList" @modeltype="modeltype" :modelarealistcavans="modelarealistcavans"
            @refreshdata="refreshdata" @editContent="editContent" @objbasicparameters="objbasicparameters" />
						 <!-- <ImageSelector ref="childComponent" :pagevale="pagevale" :imageUrllist="modelenews"  @modeltype="modeltype" :modelarealistcavans="modelarealistcavans" @refreshdata="refreshdata" @objbasicparameters="objbasicparameters" @newRectangle="newRectangle" /> -->
                        <div class="templatePage">
                            <div v-for="(item,index) in modelenews" :key="index" :class="pagevale-1==index?'hover imgbox':'imgbox'" @click="changeImage(index)">{{ index+1 }}</div>
                        </div>
                        </div>
					 <div class="uploadcardInfo">
						 <el-collapse v-model="activeName" accordion>
                                <el-collapse-item name="1">
                                    <template #title>
                                        <div class="custom-title">
                                            <span style="margin-left: 10px;">定位标识*<i>({{ isAllSelected ? '已框选' : '未完全框选' }})</i></span>
                                        </div>
                                    </template>
                                    <div class="locationmark">
                                        <b class="titlebnumber">第一页</b>
                                        <div class="nameexamnum">
                                            <ul class="nameexamnumul">
												<!-- :class="{ red: isFieldTypeActive(item.fieldType) }"  -->
												<li 
													v-for="(item,index) in menuItems" 
													:class="{
														'red': !isFieldTypeActive(item.fieldType),
														'hover': activeindex === index
													}"
													@click="isFieldTypeActive(item.fieldType) ? showTooltip() : locationmark(item.fieldType, 1, item.label, index)"
												>
													{{ item.label }}
												</li>
                                            </ul>
                                            <i>编辑</i>
                                            <span>删除</span>
                                        </div>
                                    </div>
                                    <div class="locationmark">
                                        <b class="titlebnumber">第二页</b>
                                        <div class="nameexamnum">
                                            <ul class="nameexamnumul">
												<li 
													v-for="(item,index) in menuItems1" 
													:class="{
														'red': !isFieldTypeActive1(item.fieldType),
														'hover': activeindex1 === index
													}"
													@click="isFieldTypeActive1(item.fieldType) ? showTooltip() : locationmark1(item.fieldType, 1, item.label, index)"
												>
													{{ item.label }}
												</li>
                                            </ul>
                                            <i>编辑</i>
                                            <span>删除</span>
                                        </div>
                                    </div>
                                </el-collapse-item>
                                <el-collapse-item  name="2">
                                     <template #title>
                                        <div class="custom-title">
                                            <span style="margin-left: 10px;">准考证号填涂*<i>(未完全框选)</i></span>
                                        </div>
                                    </template>
                                    <div class="examnumbercontent">
                                        <b>第一位</b>
                                        <div class="nameexamnum">
                                            <ul class="examnumberset">
                                                <li v-for="(item,index) in 11">{{index}}</li>
                                            </ul>
                                            <i>编辑</i>
                                            <span>删除</span>
                                        </div>
                                    </div>
                                    <div class="examnumbercontent">
                                        <b>第二位</b>
                                        <div class="nameexamnum">
                                            <ul class="examnumberset">
                                                <li v-for="(item,index) in 11">{{index}}</li>
                                            </ul>
                                            <i>编辑</i>
                                            <span>删除</span>
                                        </div>
                                    </div>
                                    <div class="examnumbercontent">
                                        <b>第三位</b>
                                        <div class="nameexamnum">
                                            <ul class="examnumberset">
                                                <li v-for="(item,index) in 11">{{index}}</li>
                                            </ul>
                                            <i>编辑</i>
                                            <span>删除</span>
                                        </div>
                                    </div>
                                    <div class="examnumbercontent">
                                        <b>第四位</b>
                                       <div class="nameexamnum">
                                            <ul class="examnumberset">
                                                <li v-for="(item,index) in 11">{{index}}</li>
                                            </ul>
                                            <i>编辑</i>
                                            <span>删除</span>
                                        </div>
                                    </div>
                                    <div class="examnumbercontent">
                                        <b>第五位</b>
                                        <div class="nameexamnum">
                                            <ul class="examnumberset">
                                                <li v-for="(item,index) in 11">{{index}}</li>
                                            </ul>
                                            <i>编辑</i>
                                            <span>删除</span>
                                        </div>
                                    </div>
                                    <div class="examnumbercontent">
                                        <b>第六位</b>
                                        <div class="nameexamnum">
                                            <ul class="examnumberset">
                                                <li v-for="(item,index) in 11">{{index}}</li>
                                            </ul>
                                            <i>编辑</i>
                                            <span>删除</span>
                                        </div>
                                    </div>
                                    <div class="examnumbercontent">
                                        <b>第七位</b>
                                        <div class="nameexamnum">
                                            <ul class="examnumberset">
                                                <li v-for="(item,index) in 11">{{index}}</li>
                                            </ul>
                                            <i>编辑</i>
                                            <span>删除</span>
                                        </div>
                                    </div>
                                    <div class="examnumbercontent">
                                        <b>第八位</b>
                                        <div class="nameexamnum">
                                            <ul class="examnumberset">
                                                <li v-for="(item,index) in 11">{{index}}</li>
                                            </ul>
                                            <i>编辑</i>
                                            <span>删除</span>
                                        </div>
                                    </div>
                                    <div class="examnumbercontent">
                                        <b>第九位</b>
                                        <div class="nameexamnum">
                                            <ul class="examnumberset">
                                                <li v-for="(item,index) in 11">{{index}}</li>
                                            </ul>
                                            <i>编辑</i>
                                            <span>删除</span>
                                        </div>
                                    </div>
                                    <div class="examnumbercontent">
                                        <b>第十位</b>
                                        <div class="nameexamnum">
                                            <ul class="examnumberset">
                                                <li v-for="(item,index) in 11">{{index}}</li>
                                            </ul>
                                            <i>编辑</i>
                                            <span>删除</span>
                                        </div>
                                    </div>
                                </el-collapse-item>
                        </el-collapse>
                        <div class="custom-title1">
                            <span style="margin-left: 10px;">条形码*<i>(未框选)</i></span>
                        </div>
                        <div class="custom-title1">
                            <span style="margin-left: 10px;">科目标识*<i>(未框选)</i></span>
                        </div>
                        <div class="custom-title1">
                            <span style="margin-left: 10px;">缺考标识*<i>(未框选)</i></span>
                        </div>
					 </div>
				 </div>
			 </div>
		</div>
</template>

<script>
import ImageSelector from '../../components/model/positioningarea.vue'  //切图
import Modelheader from '../../components/model/modelhead.vue'
import {templateIdinfo,basicinfoCanvasimg,gettemplateClitinfo} from '../../api/paperinfo/paperinfo.js'
export default {
  name: 'App',
  data(){
	return{
		navbar:[
			{
				name:'模板信息及上传',
				id:0,
			},
			{
				name:'水平定位',
				id:1,
			},
			{
				name:'定位区',
				id:2,
			},
			{
				name:'准考证号区',
				id:3,
			},
			{
				name:'客观题区',
				id:4,
			},
			{
				name:'主观题区',
				id:5,
			}
		],
		tabnavindex:0,
		examclassify:'',
		examclassifylist:['条形码','涂点','手写'],
		examNumber:'',
		examNumberlist:[4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22],
		cardNumber:2,
		cardNumberlist:[2,4,6],
		cardColor:'',
		cardColorlist:['黑色','灰色','彩色'],
		examdpi:'',
		examdpilist:[150,200,300],
		images: [],
		questiontype:'',
		questionList:[
			{
				name:'定位点',
				id:1
			},
			{
				name:'文字定位',
				id:2
			}
		],
		
		selectradio:1,
		fillinWidth:0,
		fillinHeight:0,
		intervalWidth:0,
		intervalHeight:0,
		modelobj:{
		  id:0,
		  examId:0,
		  examCourseId:0,
		  examNoLength:4,
		  answerCardPages:2,
		  status:0,
		  templateImages: []
		},
		moduleImageurl:{},
		templateId:'',//模板id
		examCourseId:'',//考试科目id
		modeldata:{
			templateId: 0,
			examCourseId: 0,
			templateAreaType:1
		},
		positioningare:{
			id: 0,
			templateId: 0,
			templateAreaType: 0,
			templateCuttingRegion:[]
		},
		modeltypequestion:[],
		modelarealist:[],
		modelarealistcavans:[],
		examInfo:{},
		editmodelishow:false,
		pagevale:1,
		modelenews:[],
		examName:'',
		telemplatelist:[],
		isFullscreen: false, // 当前是否处于全屏状态
        activeName: '1',
		drawStatus:false,
		clitpage:0,
		clittype:0,
		clitname:0,
		menuItems: [
			{ fieldType: 1,  label: "第一页-1" },
			{ fieldType: 11, label: "第一页-2" },
			{ fieldType: 13, label: "第一页-3" },
			{ fieldType: 12, label: "第一页-4" }
		],
		menuItems1: [
			{ fieldType: 1,  label: "第二页-1" },
			{ fieldType: 11, label: "第二页-2" },
			{ fieldType: 13, label: "第二页-3" },
			{ fieldType: 12, label: "第二页-4" }
		],
		activeindex:-1,
		activeindex1:-1,
		pageonelocation:[],
		pagetwolocation:[]
	}  
  },
  mounted() {
	  // 监听全屏状态变化
	//   document.onfullscreenchange = this.handleFullscreenChange;
	this.gettemplateinfo()
	this.modeltab()
  },
  methods:{
	showTooltip() {
		this.$message.warning('此项已被框选，不可重复操作');
		// 或者使用其他提示方式
	},
	isFieldTypeActive(fieldType) {
		return this.pageonelocation.some(item => item.fieldType == fieldType);
	},
	isFieldTypeActive1(fieldType) {
		return this.pagetwolocation.some(item => item.fieldType == fieldType);
	},
	//获取模板切图信息
	gettemplateinfo(){
		this.modelarealistcavans = []
		let obj={
			templateId:this.$route.query.templateId,
		}
		gettemplateClitinfo(obj).then(res=>{
		   if(res.code==200){
			   if (res.data) {
					this.pageonelocation = res.data.filter(item => 
						item.page == 1 && 
						(item.fieldType == 1 || item.fieldType == 11 || item.fieldType == 12 || item.fieldType == 13)
					);
					this.pagetwolocation = res.data.filter(item => 
						item.page == 2 && 
						(item.fieldType == 1 || item.fieldType == 11 || item.fieldType == 12 || item.fieldType == 13)
					);
					console.info('this.pageonelocation,',this.pageonelocation)
					this.modelarealistcavans = res.data
					.filter(item => item.page == this.pagevale)
					.map(item => ({
						...item,
						templatePointType:item.fieldType == 1?'第一页-1':item.fieldType == 11?'第一页-2':item.fieldType == 12?'第一页-3':item.fieldType == 13?'第一页-4':item.fieldType == 8?'科目':item.fieldType == 4?'条形码':item.fieldName,
					}));
				}else{
					this.modelarealistcavans=[]
				}
		   }
		})
	},
	locationmark(xh,page,name,index){
		if (this.drawStatus && this.activeindex === index) {
			this.drawStatus = false
			this.activeindex = null
		} else {
			this.drawStatus = true
			this.clitpage = page
			this.clittype = xh
			this.clitname = name
			this.activeindex = index
		}
		console.info('drawStatus',this.drawStatus)
	},
	locationmark1(xh,page,name,index){
		if (this.drawStatus && this.activeindex === index) {
			this.drawStatus = false
			this.activeindex1 = null
		} else {
			this.drawStatus = true
			this.clitpage = page
			this.clittype = xh
			this.clitname = name
			this.activeindex1 = index
		}
		console.info('drawStatus',this.drawStatus)
	},
	//切图坐标点
	newRectangle(val) {
		console.info('val',val)
		let option={
			templateId:this.$route.query.templateId,
			page:this.pagevale,
			fieldType:this.clittype,
			fieldName:this.clitname,
			x:val.x,
			y:val.y,
			width:val.w,
			height:val.h,
			sort: 0
		}
		// console.info(option)
		basicinfoCanvasimg(option).then(res=>{
			console.info(res)
			if(res.code==200){
				this.gettemplateinfo()
			}else{
				this.$message.error(res.msg); 
			}
		})
	},
    changeImage(index){
        this.pagevale = index+1
		this.gettemplateinfo()
    },
    // 获取模板
	modeltab(){
        let obj={
            templateId:this.$route.query.templateId,
        }
        templateIdinfo(obj).then(res=>{
            console.info(res)
            if(res.code==200){
                this.modelenews = res.data
            }
        })
	},
	  quiteclick(){
		  this.$router.push('/examoverview')
	  },
	  editContent(data){
		  this.editmodelishow = data.ishow
		  this.questiontype= data.templatePointType
		  this.positioningare.templateCuttingRegion = [{
		  		id: data.id,
		  		templateId:this.$route.query.templateId, // 如果有具体的 templateId 值，可以在这里赋值
		  		templatePointType:this.qiehuanzhiquestiontype, // 如果有具体的 templatePointType 值，可以在这里赋值
		  		page:this.pagevale,
		  		width: data.w,
		  		height: data.h,
		  		x: data.x,
		  		y: data.y
		  }]
	  },
	  questionchange(data){
		  // this.qiehuanzhiquestiontype = data
		  this.positioningare.templateCuttingRegion[0].templatePointType = data
	  },
	  canceleditbox(){
	  		    this.editishow=false
	  			this.editmodelishow = false
	  },
	  objbasicparameters(){
		  this.editishow=false
		  this.editmodelishow = false
	  },
	  refreshdata(){
	  		this.modeltab()
	  },
	  modeltype(data){
		  this.modeltypequestion.push(data)
	  },
	  handleUpdateMarkList(newVal) {
		  this.telemplatelist = newVal
	          // 在这里处理从子组件传递过来的值
			let newarray=newVal.filter(item => !item.id)
			if(newarray.length != 0){
				// //console.info('dddd')
				this.positioningare.templateCuttingRegion = newarray.map((item, index) => ({
						id: index,
						templateId:this.$route.query.templateId, // 如果有具体的 templateId 值，可以在这里赋值
						templatePointType:this.modeltypequestion[index], // 如果有具体的 templatePointType 值，可以在这里赋值
						page:this.pagevale,
						width: item.w,
						height: item.h,
						x: item.x,
						y: item.y
				}))
			}else{
				// //console.info('ddddssss')
				this.positioningare.templateCuttingRegion = newVal.map((item, index) => ({
						id: item.id,
						templateId:this.$route.query.templateId, // 如果有具体的 templateId 值，可以在这里赋值
						templatePointType:item.templatePointType, // 如果有具体的 templatePointType 值，可以在这里赋值
						page:this.pagevale,
						width: item.w,
						height: item.h,
						x: item.x,
						y: item.y
				}))
			}
			// //console.info(this.positioningare)
	   },
	pagevalueindex(val){
		this.pagevale = val
		this.modelinfo(this.templateId)
	},
	// 切换全屏
	toggleFullscreen() {
	  if (!document.fullscreenEnabled) {
	    alert("您的浏览器不支持全屏功能！");
	    return;
	  }
	
	  if (this.isFullscreen) {
	    // 退出全屏
	    document.exitFullscreen();
		this.$refs.fullscreenElement.style.overflow = 'auto';
	  } else {
	    // 进入全屏
	    this.$refs.fullscreenElement.requestFullscreen();
		this.$refs.fullscreenElement.style.overflow = 'auto';
	  }
	},
	// 处理全屏状态变化
	handleFullscreenChange() {
	  this.isFullscreen = !!document.fullscreenElement;
	},
  },
//   computed: {
//   // 判断是否所有必选项都已框选
//   isAllSelected() {
// 		const requiredItems = [...this.menuItems, ...this.menuItems1].filter(
// 			item => this.isFieldTypeActive(item.fieldType) || this.isFieldTypeActive1(item.fieldType)
// 			);
			
// 			// 检查所有必选项是否都有对应的选择
// 			return requiredItems.every(item => {
// 			return this.selectedItems.some(selected => 
// 				selected.fieldType === item.fieldType
// 			);
// 			});
// 		}
// 	},
  components: {
    ImageSelector,Modelheader
  }
}
</script>

<style scoped>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  text-align: center;
  color: #2c3e50;
}
.header{
	padding:0 40px;
	height:48px;
	padding:0 24px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	color:#fff;
	background:#2379F6;
	font-size:16px;
}
.header h3{
	font-weight: normal;
	font-size:16px;
}
.header p{
	display: flex;
}
.header p b{
	display: flex;
	justify-content: center;
	align-items: center;
	width: 134px;
	height: 32px;
	background: rgba(255,255,255,0.1);
	border-radius: 17px;
	border: 1px solid #FFFFFF;
	text-align: center;
	line-height:32px;
	cursor: pointer;
	margin-right:14px;
}
.header p b img{
	width:16px;
	margin-right:8px;
}
.header p em{
	display: inline-block;
	width: 76px;
	height: 32px;
	background: #FFFFFF;
	border-radius: 17px;
	border: 1px solid #FFFFFF;
	color:#2379F6;
	text-align: center;
	line-height:32px;
	cursor:pointer
}
.tabNav{
	padding:0 40px;
	height:54px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding:0 24px 0 10px;
	background:#fff;
}
.tabNav ul{
	display: flex;
	align-items: center;
	font-size:14px;
}
.tabNav ul li{
	padding:0 20px;
	cursor: pointer;
	line-height:38px;
	color:#557292;
	position:relative
}
.tabNav ul li:hover,.tabNav ul li.hover{
	color:#2A303B;
}
.tabNav ul li:hover::after,.tabNav ul li.hover::after{
	content:'';
	width: 24px;
	height: 4px;
	background: #295CFF;
	border-radius: 2px;
	position:absolute;
	left:50%;
	transform: translateX(-50%);
	bottom:0
}
.tabNav span{
	display: inline-block;
	width: 140px;
	height: 34px;
	background: #F2F6FB;
	border-radius: 10px;
	border: 1px solid #295CFF;
	font-weight: 500;
	font-size: 14px;
	color: #295CFF;
	text-align: center;
	line-height:34px;
	cursor: pointer;
}
/* 上传 */
.uploadMarks{
	box-sizing: border-box;
	background:#F4F7FD;
	width:100vw;
	height:calc(100vh - 102px);
	position: relative;
}
.smcsbutton{
	width: 124px;
	height: 34px;
	background: #2379F6;
	border-radius: 10px;
	font-size: 14px;
	color: #FFFFFF;
	text-align: center;
	border:none;
	/* margin:24px 0 0 24px; */
	position: absolute;
	padding:0;
	left:24px;
	top:24px;
}
.boxcenter{
	display: flex;
	justify-content: space-between;
}
.uploadcardInfo{
    width:480px;
	height:calc(100vh - 102px);
	background:#fff;
	position:relative;
    box-shadow: 0 4px 16px 0 #5572921a;
    overflow-y: auto;
}
.examboxbutton{
	width:100%;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	padding:0 15px;
	height: 54px;
	background: #E8F0FA;
	position:absolute;
	left:0;
	bottom:0;
}
.examboxbutton >>>  .el-button{
	width: 124px;
	height: 34px;
	border-radius:10px;
	padding:0;
	margin:0;
	font-size:12px;
	border: 1px solid #295CFF;
	color:#295CFF;
	background:none;
}
.examboxbutton >>>  .el-button:first-child{
	background:#295CFF;
	border: 1px solid #295CFF;
	color:#fff;
}
.examboxbutton >>>  .el-button:nth-child(2){
	margin:0 8px;
}
.examboxbutton1{
	width:100%;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	padding:0 15px;
	height: 54px;
	background: #E8F0FA;
	position:absolute;
	left:0;
	bottom:0;
	justify-content: center;
}
.examboxbutton1 >>>  .el-button{
	width: 124px;
	height: 34px;
	border-radius:10px;
	padding:0;
	margin:0;
	font-size:12px;
	border: 1px solid #295CFF;
	color:#295CFF;
	background:none;
}
.examboxbutton1 >>>  .el-button:first-child{
	background:#295CFF;
	border: 1px solid #295CFF;
	color:#fff;
}
.examboxbutton1 >>>  .el-button:nth-child(2){
	margin:0 8px;
}
.uploadcardInfo h3{
	line-height:67px;
	border-bottom:solid 1px #D8E4F0;
	padding:0 24px;
	color:#2A303B;
	font-weight:normal
}
.uploadCardimage{
	width:calc(100% - 460px);
	height:calc(100vh - 102px);
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	position:relative;
}
.uploadCardimage span{
	display: block;
	width:100%;
	text-align: center;
}
.uploaddiv{
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}
.uploaddivattention{
	font-size: 14px;
	color: #B3B8C2;
}
.cropperBox{
	height:calc(100vh - 102px);
	display: flex;
}
.cropperImageset{
	width:calc(100% - 480px);
	height:calc(100vh - 102px);
	overflow:scroll;
	position: relative
}
.routate{
  	position:absolute;
  	left:50px;
  	top:5px;
  	background:#fff;
  	height:60px;
  	display: flex;
  	align-items: center;
  	padding:0 10px 0 0;
  	box-shadow: 0 0 5px rgba(0,0,0,0.1);
  	border-radius:5px;
  	font-size:14px;
  	color:#557292;
  	border-radius: 10px;
	z-index:10
  }
 .routate >>> .el-select,.routate >>>.el-input{
  	width:150px;
  }
 .routate >>> .el-select{
  	margin-right:10px;
  }
  .routate >>>.el-input{
  	margin-left:10px;
  	margin-right:10px;
  }
 .routate >>> .el-button{
  	border-radius:10px;
  	height:35px;
  	width:55px;
  	padding:0 ;
	margin-left:10px
  }
  .routate >>> .el-input__inner{
  	border-radius:10px;
  	height:35px;
  }
  .image-preview img{
	  box-sizing: border-box;
	  width: 150px;
	  height: 150px;
	  background: #FFFFFF;
	  border-radius: 10px;
	  text-align: center;
	  font-size:16px;
	  color:#295CFF;
	  cursor: pointer;
	  margin:22px;
  }
  .searchlist{
  	box-sizing: border-box;
  	width:auto;padding:0 40px;
  	display: flex;
  	justify-content: space-between;
  	height: 54px;
  	background: #FFFFFF;
  	border-radius: 10px;
  	padding:0 24px;
  	align-items: center;
  }
  .searchlist{
  	padding-left:20px;
  	display: flex;
  	align-items: center;
  	justify-content: left;
  }
  .searchlist a{
  	display: block;
  	color:#557292;
  	font-size:14px;
  	/* width:100px; */
  	text-align: center;
  	position: relative;
  	line-height:52px;
  	padding:0 15px;	
  }
  .searchlist a:hover,.searchlist a.hover{
  	color:#295CFF;
  }
  .searchlist a:hover::after,.searchlist a.hover::after{
  	content:'';
  	width: 24px;
  	height: 4px;
  	background: #295CFF;
  	border-radius: 2px;
  	position: absolute;
  	left:50%;
  	transform: translateX(-50%);
  	bottom:0;
  }
  .boxsetetid{
	  display: flex;
	  align-items: center;
  }
  .boxsetetid >>> .el-input__inner{
	  width:90px;
	  height:34px;
	  border-radius: 10px;
	  border: 1px solid #295CFF;
	  font-weight: 500;
	  font-size: 14px;
	  color: #295CFF;
  }
  .boxsetetid >>> .el-select .el-input .el-select__caret{
	  color: #295CFF
  }
  .boxsetetid >>> .el-input__icon{
	  line-height:34px;
  }
  .boxsetetid >>> .el-button{
	  padding:0;
	  width: 96px;
	  height: 34px;
	  background: #295CFF;
	  border-radius: 10px;
	  color:#fff;
	  line-height:34px;
	  margin:0 10px;
  }
  .breadBox >>> .el-breadcrumb__inner a,.breadBox >>> .el-breadcrumb__inner.is-link{
  	font-weight:normal
  }
  .breadBox >>> .el-breadcrumb__item:last-child .el-breadcrumb__inner,
  .breadBox >>> .el-breadcrumb__item:last-child .el-breadcrumb__inner a,
  .breadBox >>> .el-breadcrumb__item:last-child .el-breadcrumb__inner a:hover,
  .breadBox >>> .el-breadcrumb__item:last-child .el-breadcrumb__inner:hover{
  	font-weight:bold
  }
  .examnumberset{
    display: flex;
    align-items: center;
    padding:0 0 0 20px;
  }
  .examnumberset li{
    width: 20px;
    height: 20px;
    border: 1px solid #295CFF;
    border-radius: 2px;
    text-align: center;
    line-height:20px;
    color:#1A48DB;
    margin-right:10px;
    cursor: pointer;
  }
  .examnumberset li:hover,.examnumberset li.hover{
    background:#1A48DB;
    color:#fff;
  }
  .examnumberset li.red{
    border:solid 1px #EC555A;
    color:#fff;
  }
  .examnumbercontent b{
    display: block;
    padding:0 20px;
    font-size:14px;
    color:#5B6371;
    font-weight: normal;
  }
  .examnumbercontent:hover,.examnumbercontent.hover{
    background:#E8F0FA;
  }
  .nameexamnum{
    display: flex;
    align-items: center;
  }
  .nameexamnum i{
    display: inline-block;
    width: 44px;
    height: 20px;
    background: #1A48DB;
    border-radius: 2px;
    line-height:20px;
    text-align: center;
    line-height:20px;
    font-size:12px;
    color:#fff;
    font-style:normal;
    cursor: pointer;
  }
  .nameexamnum span{
    display: inline-block;
    width: 44px;
    height: 20px;
    background: #EC555A;
    border-radius: 2px;
    line-height:20px;
    text-align: center;
    line-height:20px;
    font-size:12px;
    color:#fff;
    font-style:normal;
    margin-left:10px;
    cursor: pointer;
  }
  .nameexamnumul{
    display: flex;
    align-items: center;
    padding:0 0 0 20px;
    height:20px;
  }
  .titlebnumber{
    display: block;
    font-style:normal;
    font-size:14px;
    color:#5B6371;
    padding:0 0 0 20px;
    font-weight: normal;
  }
  .locationmark{
    padding-top:15px;
    cursor: pointer;
  }
  .locationmark:hover,.locationmark.hover{
    background:#E8F0FA;
  }
  .nameexamnumul li{
    width: 64px;
    height: 20px;
    border: 1px solid #1A48DB;
    border-radius: 2px;
    font-size:12px;
    color:#1A48DB;
    line-height:20px;
    text-align: center;
    margin-right:10px;
  }
  .nameexamnumul li.red{
       border:solid 1px #EC555A;
       color:#EC555A;
   }
   .nameexamnumul li.hover, .nameexamnumul li:hover{
       background:#1A48DB;
	   border:solid 1px #1A48DB;
       color:#fff;
   }
   
  /* >>> .el-collapse-item__header, >>> .el-collapse, >>> .el-collapse-item__wrap{
    border:none
  } */
  .custom-title1{
    width:100%;
    border-bottom:solid 1px #5572921a;
    padding:15px 0;
    cursor: pointer;
  }
  .custom-title1 span,.custom-title span{
    font-size:16px;
    color:#2A303B;
  }
  .custom-title1 span.hover,.custom-title span.hover{
    color:#1A48DB
  }
   .custom-title1 span i,.custom-title span i{
    font-style:normal;
    color:#EC555A
   }
   .templatePage{
    position:fixed;
    left:24px;
    bottom:24px;
    z-index:10;
    display: flex;
    align-items: center;
  }
  .imgbox{
    width: 32px;
    height: 32px;
    background: #FFFFFF;
    border: 1px solid #DEE1E7;
    border-radius: 2px;
    text-align: center;
    line-height:32px;
    font-size:14px;
    color:#557292;
    margin-right:14px;
    cursor: pointer;
  }
  .imgbox:hover,.imgbox.hover{
    background: #1A48DB;
    border-radius: 2px;
    color:#fff;
  }
</style>